﻿@model CodeFinder.Common.Entities.Post
@{
    ViewBag.Title = "Create";
}
@section headerSection{
    <script type="text/javascript" src="@Url.Content("~/assets/javascripts/mylibs/jHtmlArea-0.7.0.js")"></script>
    <link rel="Stylesheet" type="text/css" href="@Url.Content("~/assets/css/jHtmlArea.css")" />
    <script src="@Url.Content("~/assets/javascripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/assets/javascripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
}
<h2>
    Create</h2>
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    
    <fieldset>
        <legend>Post</legend>
        @Html.EditorForModel()
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Back to List", "Index")
</div>
